Feel free to experiment with CRUNCH here and use CRUNCH in your own stacks.
Click the
archetypal
"About" button
for more info.
-- part contents for card part 1
----- text -----
Often it is useful to remove extra spaces between lines in a text field in HyperCardΓäó. You can write a script to do this (or if you're so inclined, use the one provided here), but it can be awfully slow. Such speed can be frustrating.
That's why I wrote CRUNCH. Crunch is an XFCNΓÇö you use it like any HyperCard function, once you have installed it into your stack.
To install CRUNCH, or any other XCMD or XFCN, you can use ResEdit, but I suggest the XCMD by Steve Maller called ResCopy, available through BMUG & other sources of user-supported software.
CRUNCH is free, but it's Copyright © 1988 by Dan Wood. It may be freely distributed, and only a reasonable duplication fee may be charged. Specifically, EDUCOMP is prohibited from distributing this.
-- part contents for background part 51
----- text -----
Often there is
a field which
has several
empty
lines in it.
It is nice to
be able to
remove those
quickly.
A script takes
too long in most
cases, so this
is a job for an
XFCN!
An XFCN is
an external
function--
it's like an XCMD
but it returns
a value.
All this XFCN is
is a small pascal
program which
removes
multiple
carriage returns
from a text
source.
This can be a
field, a variable,
etc.
The original
contents are
not destroyed.
Feel free to experiment with CRUNCH here and use CRUNCH in your own stacks.